package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Goods;
import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SupplierDao {
    List<Supplier> listPage(@Param("offset") int offset, @Param("pageSize") int pageSize, @Param("supplierName") String supplierName);

    Integer countInteger();

    void update(Supplier supplier);

    void save(Supplier supplier);

    void delete(@Param("ids") Integer[] ids);
}
